package io.adrainty.bolee.insurance.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import io.adrainty.bolee.insurance.models.entity.BannerEntity;

import java.util.List;

/**
 * <p>IBannerService</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description IBannerService
 * @since 2025/8/18 16:07:42
 */
public interface IBannerService {

    /**
     * 保存Banner
     *
     * @param bannerVO bannerVO
     * @return BannerEntity
     */
    BannerEntity saveBanner(BannerEntity bannerVO);

    /**
     * 修改Banner
     *
     * @param bannerVO bannerVO
     * @return Boolean
     */
    Boolean updateBanner(BannerEntity bannerVO);

    /**
     * 分页查询Banner
     *
     * @param pageNum  pageNum
     * @param pageSize pageSize
     * @param param    param
     * @return IPage<BannerEntity>
     */
    IPage<BannerEntity> pageBanner(Integer pageNum, Integer pageSize, BannerEntity param);

    /**
     * 删除Banner
     *
     * @param bannerIds bannerIds
     * @return Boolean
     */
    Boolean deleteBanner(List<Long> bannerIds);
}
